package micro.data.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author txw
 * @version V1.0
 * @Title: User
 * @ProjectName micro-user-server
 * @Description: 描述
 * @since 2018/6/18 23:47
 */
@Data
@ApiModel("用户")
public class User implements Serializable {
    private Long id;
    @ApiModelProperty("用户名")
    private String name;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("密码")
    private String pwd;
}
